package com.lennon.eoi.autoconfig;

/**
 * 配置公共线程池来处理分批任务
 * 	【注：如果任务量不大，不需要开启分批处理模式】
 * 
 * @author Administrator
 *
 */
public class CommonExecutorsService {

	/** 线程池核心线程数量*/
	private int corePoolSize;
	/** 线程池最大线程数量*/
	private int maximumPoolSize;
	/** 线程存活时间*/
	private long keepAliveTime;
	
	public int getCorePoolSize() {
		return corePoolSize;
	}
	
	public void setCorePoolSize(int corePoolSize) {
		this.corePoolSize = corePoolSize;
	}
	
	public int getMaximumPoolSize() {
		return maximumPoolSize;
	}
	
	public void setMaximumPoolSize(int maximumPoolSize) {
		this.maximumPoolSize = maximumPoolSize;
	}
	
	public long getKeepAliveTime() {
		return keepAliveTime;
	}
	
	public void setKeepAliveTime(long keepAliveTime) {
		this.keepAliveTime = keepAliveTime;
	}
	
}
